package com.example.gateway.designPattern.chainOfResponsibility;

import org.apache.logging.log4j.spi.AbstractLogger;

/**
 * @ClassName: ConsoleLogger
 * @Description:
 * @Author: YourName
 * @Date: 2025/1/6
 */

public class ConsoleLogger extends AbsLogger {
    @Override
    protected void write(String message) {
        System.out.println("Console Logger: " + message);
    }

    public ConsoleLogger(int level) {
        this.level = level;
    }
}
